package com.dingdang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告表

 * </p>
 *
 * @author author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_advertise")
@ApiModel(value="TbAdvertise对象", description="广告表")
public class TbAdvertise implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "广告id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "广告标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "广告链接")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "图片绝对路径")
    @TableField("pic")
    private String pic;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "排序")
    @TableField("sort_order")
    private Integer sortOrder;

    @TableField("seller_name")
    private String sellerName;

    @TableField("field")
    private Integer field;

    @TableField("start_time")
    private Date startTime;

    @TableField("end_time")
    private Date endTime;

    @TableField("total_price")
    private BigDecimal totalPrice;
    
    @TableField("order_id")
    private Long orderId;

    @TableField("email")
    private String email;

}
